package com.worldcup.service.question;

import com.worldcup.model.question.Question;

import java.util.List;

/**
 * @author duwan.zq
 * @date 2019/03/05
 */
public interface QuestionService {

    /**
     * 获取全部问题
     * @return
     */
    List<Question> listQuestion();

    /**
     * 根据id获取question
     * @param questionId
     * @return
     */
    Question getQuestion(Long questionId);
}
